package cn.sciento.farm.devicemanager.service;

import cn.sciento.farm.devicemanager.dao.entity.DevDevice;
import cn.sciento.farm.devicemanager.dao.entity.DevScene;
import cn.sciento.farm.devicemanager.dao.model.SceneDeviceCell;
import cn.sciento.farm.devicemanager.dao.model.SceneForm;

import java.util.List;

public interface SceneService {
    int insert(DevScene scene);

    int updateById(DevScene scene);

    int deleteById(Long id);

    SceneForm getById(Long id);

    List<SceneForm> getByLandId(int landId);

    List<SceneForm> getByAreaId(int areaId);

    List<DevDevice> getDeviceById(Long id);

    List<String> getDeviceIdById(Long id);

    int updateDevice(Long id, List<String> idList);

    List<DevScene> getByDeviceId(String id);

    List<SceneDeviceCell> getDeviceAllById(Long id);
}
